package com.zhike.common.constant;

public class Constants {
    // 发布版本
    public static final String RELEASE = "release";
    // 开发版本
    public static final String DEBUG = "debug";
    // 头部 token令牌key
    public static final String HEADER_AUTHORIZATION_KEY = "Authori-zation";
    // 在线用户列表
    public static final String USER_ONLINE_LIST = "user:online:list";
    // 在线用户数
    public static final String USER_ONLINE_COUNT = "user:online:count";
    // 离线消息缓存key prefix
    public static final String OFFLINE_MESSAGE_KEY_PREFIX = "offline_message:";

    public static final String USER_INFO_CACHE_KEY_PREFIX = "user_info:";

    // 聊天上传目录
    public static final String UPLOAD_CHAT = "/chat";

    // 头像目录
    public static final String UPLOAD_AVATAR = "/avatar";

    // 群头像目录
    public static final String UPLOAD_GROUP_AVATAR = "/avatar_group";

    // 用户资料
    public static final String UPLOAD_USER = "/user";

    // 好友资料
    public static final String UPLOAD_FRIEND = "/friend";

    /**
     * 阿里云消息签名Redis前缀
     */
    public final static String REDIS_PHONE_CODE = "phone_code:";
    /**
     * 阿里云消息签名时间前缀
     */
    public final static String REDIS_PHONE_CODE_TIME = "phone_code_time:";

}
